package com.bluefuture.modules.app.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * 登录表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "更新表单")
public class UpdateForm {
    @ApiModelProperty(value = "名称")
    @NotBlank(message="名称不能为空")
    private String name;

    @ApiModelProperty(value = "其他联系方式")
    private String otherContact;

    @ApiModelProperty(value = "个人信息")
    private String info;

    @ApiModelProperty(value = "头像")
    private String photo;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String mobile;
    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 性别
     */
    @ApiModelProperty(value = "1-男，2-女")
    private int gender;
    /**
     * 用户名
     */

    @ApiModelProperty(value = "出生日期，年月日")
    private Date birth;


    /**
     * 公司
     */
    @ApiModelProperty(value = "公司")
    private String company;
    /**
     * 行业
     */
    @ApiModelProperty(value = "行业")
    private String industry;

}
